package com.lean.android.ad.core.interstitial

import android.view.View
import androidx.annotation.RestrictTo
import com.bytedance.sdk.openadsdk.TTFullScreenVideoAd
import com.lean.android.ad.core.Ad

@RestrictTo(RestrictTo.Scope.LIBRARY)
class InterstitialAd(
    val ad: TTFullScreenVideoAd, val fullAd: Boolean, private val reqId: String
) : Ad {

    override val requestId: String
        get() = reqId
    override val adView: View?
        get() = null

    override fun destroy() {
        ad.mediationManager?.destroy()
    }
}